<?php
namespace Acme\Likipe\BlogBundle\Form;

use Doctrine\ORM\EntityRepository;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

/*
 * Acme\Likipe\BlogBundle\Form\CommentType
 */

class CommentType extends AbstractType{
	public function buildForm( FormBuilder $builder, array $options ){
		$builder->add( 'author' );
		$builder->add( 'content' );
	}
	
	public function getDefaultOptions( array $options )
	{
		return array(
				'data_class' => 'Acme\Likipe\BlogBundle\Entity\Comment',
		);
	}
	
	public function getName()
	{
		return 'comment';
	}
}
?>